<template>
    <div class="container">
        <div class="title">
            <slot></slot>
        </div>
        <div class="content">
            <ol>

                <li v-for="content in contents">
                    <!-- { name: "张三", age: 18 }, -->
                    <slot name="content" v-bind="content"></slot>
                    <!-- <slot name="content" name="" age=""></slot> -->
                </li>
            </ol>

        </div>
        <div class="foot">
            foot: <slot name="foot"></slot>

        </div>



    </div>
</template>

<script setup lang="ts" name='Facher'>
import { ref, reactive } from "vue";

// defineProps(['title', 'content'])
defineProps(['contents'])



</script>

<style scoped>
.container {
    width: 400px;
    height: 200px;
    border: solid 1px red;
    border-radius: 10px;
    background-color: rgb(54, 129, 194);
    color: white;
}
</style>